/**
 * Copyright (c) 2015-2030 by Beijing Yanlight Co., Ltd.
 * All rights reserved.
 */
package com.yanlight.app.dal.dao;

import com.yanlight.app.dal.dto.OrderQuery;
import com.yanlight.app.dal.entity.Order;

import java.util.List;

/**
 * @author haolw
 * @time 2017/08/28
 */
public interface OrderDAO {

    int count(OrderQuery query);

    List<Order> findList(OrderQuery query);

    Order findByOrderId(String orderId);

    /**
     * 是否申请退款
     */
    void updateDrawbackStatus(Integer orderId, Long drawbackId);

}
